package com.lhn.service;

import com.lhn.domain.Account;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author lhn
 * @date 2024-08-23 14:27
 */

public interface AccountService {
    @Transactional
    void transfer(String from, String to, double money);

    Account findAccountByName(String name);
}
